import { EntityModel } from '@midwayjs/orm';
import { Column, JoinColumn, ManyToOne } from 'typeorm';
import { BaseModel } from '../utils/base.model';

/**
 * 流程审批表
 */
@EntityModel()
export class ConvenientAudit extends BaseModel {
  @Column({
    comment: '服务ID',
  })
  convenientId: number;

  @Column({
    comment: '节点id',
  })
  nodeId: number;

  @Column({
    comment: '用户ID',
  })
  userId: number;

  @Column({
    comment: '审批意见',
  })
  auditInfo: string;

  @Column({
    comment: '审批日期',
  })
  auditTime: Date;
}
